// 新增内存池管理头文件
typedef struct {
    uint8* pool;
    uint32 block_size;
    uint32 block_count;
} MemoryPool;

void MemPool_Init(MemoryPool* mp, uint32 block_size, uint32 block_count);
void* MemPool_Alloc(MemoryPool* mp);
void MemPool_Free(MemoryPool* mp, void* ptr);